home *** CD-ROM | disk | FTP | other *** search
- on JumpPage n
- global NowBPage
- puppetSound("JSpcBtn13.AIF")
- set NowBPage to n
- go(string(n))
- end
-
- on goNowPage
- global NowBPage
- puppetSound("LoYeah01.AIF")
- go(string(NowBPage))
- end
-
- on PutAway
- puppetSound(0)
- go("exit")
- end
-
- on BookHelp
- puppetSound("Dogonnit.AIF")
- go("help")
- end
-
- on initbook n
- global NowBPage, BPageMax
- set the immediate of sprite n to 1
- set NowBPage to 1
- set BPageMax to n
- end
-
- on PageUp
- global NowBPage, BPageMax
- if NowBPage = BPageMax then
- exit
- else
- set NowBPage to NowBPage + 1
- end if
- puppetSound("BookPage.1")
- go(string(NowBPage))
- end
-
- on LastPage
- global NowBPage, BPageMax
- puppetSound("Kick.1")
- go(string(BPageMax))
- set NowBPage to BPageMax
- end
-
- on FirstPage
- global NowBPage, BPageMax
- puppetSound("Kick.1")
- go("1")
- set NowBPage to 1
- end
-
- on PageDN
- global NowBPage, BPageMax
- if NowBPage = 1 then
- exit
- else
- set NowBPage to NowBPage - 1
- end if
- puppetSound("BookPage.2")
- go(string(NowBPage))
- end
-